home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 21
/
AMIGAplus Sonderheft 21 (1999)(ICP)(DE)[!].iso
/
PublicDomain
/
Anwendungen
/
RecentScript
/
Plugins
/
RecentScript.yam
< prev
Wrap
Text File
|
1999-08-23
|
867b
|
38 lines
/*****
$VER: RecentScript YAM PlugIn 1.3 (18.4.98) ©Arndt van der Molen
RecentScript PlugIn for email reader YAM.
Starts the MUIRexx application 'RecentScript' with the
currently selected mail in the message list window as
argument.
Installation:
Add following line to 'YAM:.config'
RexxMenu0 = MUIRexx:RecentScript/Plugins/RecentScript.yam
whereas the number after 'RexxMenu' is the first unused
in your YAM configuration. Note: The maximum allowed number
is 9.
*****/
OPTIONS RESULTS
ADDRESS 'YAM' GetMailInfo File
filename=RESULT
IF filename = 'RESULT' THEN filename = ""
IF EXISTS(filename) THEN DO
ADDRESS COMMAND 'filenote <>nil:' filename 'O'
ADDRESS 'YAM' MailUpdate
END
PRAGMA("STACK", 15000)
ADDRESS COMMAND 'run <>NIL: MUIRexx:MUIRexx "MUIRexx:RecentScript/RecentScript.rexx 'filename'" PORT RECENTSCRIPT'
EXIT